package org.harsh.common.crypt;

/**
 * Created by liuhaibo on 2024/7/15.
 */
// 加密工厂类
public class EncryptFactory {
    public enum CryptType {
        DESCrypt,
        AESCrypt,
        RSACrypt;
    }

//    public static ICrypt loadCrypt(CryptType cryptType) throws Exception {
//        switch (cryptType){
//            case AESCrypt:
//                return new AesCrypt();
//            case DESCrypt:
//                return new DesCrypt();
//            case RSACrypt:
//                return new RsaCrypt();
//
//        }
//        return null;
//    }
}
